/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.eng.scc.core.db;

import java.sql.PreparedStatement;
import java.sql.ResultSet;

/**
 *
 * @author rd
 */
public interface Fetcher<T>
{
    public T fetch( ResultSet ps ) throws Exception;
    
    public void insert( T value, PreparedStatement con ) throws Exception ;
    public void update( T value, PreparedStatement con ) throws Exception ;
}
